<?php
if (isset( $_SESSION[ 'errorData' ] ))
{
    $outStr = $_SESSION[ 'errorData' ];
    echo( "<div class=\"errorData\">$outStr</div>" );
    exit;
}

if (isset( $_SESSION[ 'infoData' ] ))
{
    $outStr = $_SESSION[ 'infoData' ];
    echo( "<div class=\"errorData\">$outStr</div>" );
    exit;
}
?>
